package com.test.blog.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * (TNote)实体类
 *
 * @author makejava
 * @since 2021-12-09 11:50:57
 */
public class TNote implements Serializable {
    private static final long serialVersionUID = 746523716224178835L;
    /**
     * 文章编号
     */
    private Integer noteId;
    /**
     * 文章标题
     */
    private String noteTitle;
    /**
     * 文章作者
     */
    private String noteAuthor;
    /**
     * 文章创建时间
     */
    private Date noteCreatetime;
    /**
     * 文章内容
     */
    private String noteContent;
    /**
     * 文章阅读数
     */
    private Integer noteReadnum;
    /**
     * 是否被推荐，0不推荐，1倍推荐
     */
    private Integer noteRecommend;
    /**
     * 赞的数量
     */
    private Integer noteZannum;
    /**
     * 文章封面图片
     */
    private String notePic;

    private Integer categoryId;

    private String bak;

    /**
     * 文章类别,根据类别表查询
     */
    private String categoryName;


    public Integer getNoteId() {
        return noteId;
    }

    public void setNoteId(Integer noteId) {
        this.noteId = noteId;
    }

    public String getNoteTitle() {
        return noteTitle;
    }

    public void setNoteTitle(String noteTitle) {
        this.noteTitle = noteTitle;
    }

    public Date getNoteCreatetime() {
        return noteCreatetime;
    }

    public void setNoteCreatetime(Date noteCreatetime) {
        this.noteCreatetime = noteCreatetime;
    }

    public String getNoteContent() {
        return noteContent;
    }

    public void setNoteContent(String noteContent) {
        this.noteContent = noteContent;
    }

    public Integer getNoteReadnum() {
        return noteReadnum;
    }

    public void setNoteReadnum(Integer noteReadnum) {
        this.noteReadnum = noteReadnum;
    }

    public Integer getNoteRecommend() {
        return noteRecommend;
    }

    public void setNoteRecommend(Integer noteRecommend) {
        this.noteRecommend = noteRecommend;
    }

    public Integer getNoteZannum() {
        return noteZannum;
    }

    public void setNoteZannum(Integer noteZannum) {
        this.noteZannum = noteZannum;
    }

    public String getNotePic() {
        return notePic;
    }

    public void setNotePic(String notePic) {
        this.notePic = notePic;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public String getBak() {
        return bak;
    }

    public void setBak(String bak) {
        this.bak = bak;
    }

    public String getNoteAuthor() {
        return noteAuthor;
    }

    public void setNoteAuthor(String noteAuthor) {
        this.noteAuthor = noteAuthor;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }
}

